package com.tupu.entity.admin;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * 关系表 实体类
 */
@Data
@TableName("relation_list")
public class RelationInfo {

    //主键id 自增
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    //关系名称
    private String name;

    //图谱id
    private Long nodeId;
}

